[INFO] fetching crate conduit-json-parser 0.8.0...
[INFO] checking conduit-json-parser-0.8.0 against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] extracting crate conduit-json-parser 0.8.0 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate conduit-json-parser 0.8.0
[INFO] finished tweaking crates.io crate conduit-json-parser 0.8.0
[INFO] tweaked toml for crates.io crate conduit-json-parser 0.8.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate conduit-json-parser 0.8.0 on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 19 packages to latest compatible versions
[INFO] [stderr]       Adding conduit v0.8.1 (available: v0.10.0)
[INFO] [stderr]       Adding conduit-middleware v0.8.1 (available: v0.10.0)
[INFO] [stderr]       Adding conduit-test v0.8.1 (available: v0.10.0)
[INFO] [stderr]       Adding semver v0.5.1 (available: v1.0.26)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded semver v0.5.1
[INFO] [stderr]   Downloaded conduit-test v0.8.1
[INFO] [stderr]   Downloaded conduit-middleware v0.8.1
[INFO] [stderr]   Downloaded conduit-utils v0.8.0
[INFO] [stderr]   Downloaded conduit v0.8.1
[INFO] [stderr]   Downloaded semver-parser v0.6.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ee469c0db565819ebc73a592aa8cdd85f2640030dbb7a2ef9743bcc4d8c173c0
[INFO] running `Command { std: "docker" "start" "-a" "ee469c0db565819ebc73a592aa8cdd85f2640030dbb7a2ef9743bcc4d8c173c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ee469c0db565819ebc73a592aa8cdd85f2640030dbb7a2ef9743bcc4d8c173c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee469c0db565819ebc73a592aa8cdd85f2640030dbb7a2ef9743bcc4d8c173c0", kill_on_drop: false }`
[INFO] [stdout] ee469c0db565819ebc73a592aa8cdd85f2640030dbb7a2ef9743bcc4d8c173c0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 61f2fc75a1c260f520d7ccf92046ec5c1eb3330a5ee7c1244c636e9bcfc9d424
[INFO] running `Command { std: "docker" "start" "-a" "61f2fc75a1c260f520d7ccf92046ec5c1eb3330a5ee7c1244c636e9bcfc9d424", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]     Checking regex-syntax v0.3.9
[INFO] [stderr]     Checking utf8-ranges v0.1.3
[INFO] [stderr]     Checking lazy_static v0.2.11
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]     Checking thread-id v2.0.0
[INFO] [stderr]     Checking memchr v0.1.11
[INFO] [stderr]     Checking thread_local v0.2.7
[INFO] [stderr]     Checking aho-corasick v0.5.3
[INFO] [stderr]     Checking regex v0.1.80
[INFO] [stderr]     Checking semver-parser v0.6.2
[INFO] [stderr]     Checking semver v0.5.1
[INFO] [stderr]     Checking conduit v0.8.1
[INFO] [stderr]     Checking conduit-middleware v0.8.1
[INFO] [stderr]     Checking conduit-utils v0.8.0
[INFO] [stderr]     Checking conduit-test v0.8.1
[INFO] [stderr]     Checking conduit-json-parser v0.8.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:31:23
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let json: T = try!(decode::<T>(req.body()));
[INFO] [stdout]    |                       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let j = try!(Json::from_reader(reader).map_err(|e| Box::new(e) as Box<Error+Send>));
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:39:38
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn decode<T: Decodable>(reader: &mut Read) -> Result<T, Box<Error+Send>> {
[INFO] [stdout]    |                                      ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn decode<T: Decodable>(reader: &mut dyn Read) -> Result<T, Box<Error+Send>> {
[INFO] [stdout]    |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:39:61
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn decode<T: Decodable>(reader: &mut Read) -> Result<T, Box<Error+Send>> {
[INFO] [stdout]    |                                                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn decode<T: Decodable>(reader: &mut Read) -> Result<T, Box<dyn Error+Send>> {
[INFO] [stdout]    |                                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:45:53
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn json_params<'a, T: Decodable + Any>(req: &'a Request) -> Option<&'a T> {
[INFO] [stdout]    |                                                     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn json_params<'a, T: Decodable + Any>(req: &'a dyn Request) -> Option<&'a T> {
[INFO] [stdout]    |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:30:32
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn before(&self, req: &mut Request) -> Result<(), Box<Error+Send>> {
[INFO] [stdout]    |                                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn before(&self, req: &mut dyn Request) -> Result<(), Box<Error+Send>> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:30:59
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn before(&self, req: &mut Request) -> Result<(), Box<Error+Send>> {
[INFO] [stdout]    |                                                           ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn before(&self, req: &mut Request) -> Result<(), Box<dyn Error+Send>> {
[INFO] [stdout]    |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:40:75
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let j = try!(Json::from_reader(reader).map_err(|e| Box::new(e) as Box<Error+Send>));
[INFO] [stdout]    |                                                                           ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let j = try!(Json::from_reader(reader).map_err(|e| Box::new(e) as Box<dyn Error+Send>));
[INFO] [stdout]    |                                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:42:68
[INFO] [stdout]    |
[INFO] [stdout] 42 |     Decodable::decode(&mut decoder).map_err(|e| Box::new(e) as Box<Error+Send>)
[INFO] [stdout]    |                                                                    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 42 |     Decodable::decode(&mut decoder).map_err(|e| Box::new(e) as Box<dyn Error+Send>)
[INFO] [stdout]    |                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope
[INFO] [stdout]   --> src/lib.rs:62:25
[INFO] [stdout]    |
[INFO] [stdout] 62 |     #[derive(PartialEq, RustcDecodable, RustcEncodable, Debug)]
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope
[INFO] [stdout]   --> src/lib.rs:62:41
[INFO] [stdout]    |
[INFO] [stdout] 62 |     #[derive(PartialEq, RustcDecodable, RustcEncodable, Debug)]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:31:23
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let json: T = try!(decode::<T>(req.body()));
[INFO] [stdout]    |                       ^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:1:24
[INFO] [stdout]    |
[INFO] [stdout] 1  | #![cfg_attr(test, deny(warnings))]
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout]    = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let j = try!(Json::from_reader(reader).map_err(|e| Box::new(e) as Box<Error+Send>));
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:39:38
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn decode<T: Decodable>(reader: &mut Read) -> Result<T, Box<Error+Send>> {
[INFO] [stdout]    |                                      ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn decode<T: Decodable>(reader: &mut dyn Read) -> Result<T, Box<Error+Send>> {
[INFO] [stdout]    |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:39:61
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn decode<T: Decodable>(reader: &mut Read) -> Result<T, Box<Error+Send>> {
[INFO] [stdout]    |                                                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn decode<T: Decodable>(reader: &mut Read) -> Result<T, Box<dyn Error+Send>> {
[INFO] [stdout]    |                                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:45:53
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn json_params<'a, T: Decodable + Any>(req: &'a Request) -> Option<&'a T> {
[INFO] [stdout]    |                                                     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn json_params<'a, T: Decodable + Any>(req: &'a dyn Request) -> Option<&'a T> {
[INFO] [stdout]    |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:30:32
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn before(&self, req: &mut Request) -> Result<(), Box<Error+Send>> {
[INFO] [stdout]    |                                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn before(&self, req: &mut dyn Request) -> Result<(), Box<Error+Send>> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:30:59
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn before(&self, req: &mut Request) -> Result<(), Box<Error+Send>> {
[INFO] [stdout]    |                                                           ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn before(&self, req: &mut Request) -> Result<(), Box<dyn Error+Send>> {
[INFO] [stdout]    |                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:68:26
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn handler(req: &mut Request) -> io::Result<Response> {
[INFO] [stdout]    |                          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn handler(req: &mut dyn Request) -> io::Result<Response> {
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:40:75
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let j = try!(Json::from_reader(reader).map_err(|e| Box::new(e) as Box<Error+Send>));
[INFO] [stdout]    |                                                                           ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let j = try!(Json::from_reader(reader).map_err(|e| Box::new(e) as Box<dyn Error+Send>));
[INFO] [stdout]    |                                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:42:68
[INFO] [stdout]    |
[INFO] [stdout] 42 |     Decodable::decode(&mut decoder).map_err(|e| Box::new(e) as Box<Error+Send>)
[INFO] [stdout]    |                                                                    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 42 |     Decodable::decode(&mut decoder).map_err(|e| Box::new(e) as Box<dyn Error+Send>)
[INFO] [stdout]    |                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Person: Decodable` is not satisfied
[INFO] [stdout]   --> src/lib.rs:69:36
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let person = json_params::<Person>(req);
[INFO] [stdout]    |                                    ^^^^^^ the trait `Decodable` is not implemented for `Person`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `Decodable`:
[INFO] [stdout]              ()
[INFO] [stdout]              (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]              (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]              (T10, T11)
[INFO] [stdout]              (T11,)
[INFO] [stdout]              (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]              (T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]              (T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]            and 71 others
[INFO] [stdout] note: required by a bound in `json_params`
[INFO] [stdout]   --> src/lib.rs:45:27
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn json_params<'a, T: Decodable + Any>(req: &'a Request) -> Option<&'a T> {
[INFO] [stdout]    |                           ^^^^^^^^^ required by this bound in `json_params`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Person: Encodable` is not satisfied
[INFO] [stdout]    --> src/lib.rs:70:47
[INFO] [stdout]     |
[INFO] [stdout] 70  |         let out = person.map(|p| json::encode(p).unwrap()).expect("No JSON");
[INFO] [stdout]     |                                  ------------ ^ the trait `Encodable` is not implemented for `Person`
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `Encodable`:
[INFO] [stdout]               &'a T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T10, T11)
[INFO] [stdout]               (T11,)
[INFO] [stdout]               (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]             and 75 others
[INFO] [stdout] note: required by a bound in `rustc_serialize::json::encode`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/json.rs:390:18
[INFO] [stdout]     |
[INFO] [stdout] 390 | pub fn encode<T: ::Encodable>(object: &T) -> EncodeResult<string::String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^ required by this bound in `encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `BodyReader<Person>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/lib.rs:85:46
[INFO] [stdout]     |
[INFO] [stdout] 19  | pub struct BodyReader<T> {
[INFO] [stdout]     | ------------------------ function or associated item `new` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 63  |     struct Person {
[INFO] [stdout]     |     ------------- doesn't satisfy `Person: Decodable`
[INFO] [stdout] ...
[INFO] [stdout] 85  |         middleware.add(BodyReader::<Person>::new());
[INFO] [stdout]     |                                              ^^^ function or associated item cannot be called on `BodyReader<Person>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout] note: trait bound `Person: Decodable` was not satisfied
[INFO] [stdout]    --> src/lib.rs:23:9
[INFO] [stdout]     |
[INFO] [stdout] 23  | impl<T: Decodable + Any> BodyReader<T> {
[INFO] [stdout]     |         ^^^^^^^^^        -------------
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `Decodable` must be implemented
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/serialize.rs:902:1
[INFO] [stdout]     |
[INFO] [stdout] 902 | pub trait Decodable: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `new`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `aho_corasick::Transitions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Person: Decodable` is not satisfied
[INFO] [stdout]   --> src/lib.rs:88:38
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let person = super::decode::<Person>(&mut *res.body).ok().expect("No JSON response");
[INFO] [stdout]    |                                      ^^^^^^ the trait `Decodable` is not implemented for `Person`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `Decodable`:
[INFO] [stdout]              ()
[INFO] [stdout]              (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]              (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]              (T10, T11)
[INFO] [stdout]              (T11,)
[INFO] [stdout]              (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]              (T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]              (T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]            and 71 others
[INFO] [stdout] note: required by a bound in `decode`
[INFO] [stdout]   --> src/lib.rs:39:14
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn decode<T: Decodable>(reader: &mut Read) -> Result<T, Box<Error+Send>> {
[INFO] [stdout]    |              ^^^^^^^^^ required by this bound in `decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:88:46
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let person = super::decode::<Person>(&mut *res.body).ok().expect("No JSON response");
[INFO] [stdout]    |                      ----------------------- ^^^^^^^^^^^^^^ expected trait `std::io::Read`, found trait `WriteBody + Send`
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected mutable reference `&mut dyn std::io::Read`
[INFO] [stdout]               found mutable reference `&mut (dyn WriteBody + Send + 'static)`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/lib.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn decode<T: Decodable>(reader: &mut Read) -> Result<T, Box<Error+Send>> {
[INFO] [stdout]    |    ^^^^^^               -----------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `conduit-json-parser` (lib test) due to 17 previous errors
[INFO] running `Command { std: "docker" "inspect" "61f2fc75a1c260f520d7ccf92046ec5c1eb3330a5ee7c1244c636e9bcfc9d424", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "61f2fc75a1c260f520d7ccf92046ec5c1eb3330a5ee7c1244c636e9bcfc9d424", kill_on_drop: false }`
[INFO] [stdout] 61f2fc75a1c260f520d7ccf92046ec5c1eb3330a5ee7c1244c636e9bcfc9d424
